import * as YvanUI from "yvan-ui-wotu"

const React = YvanUI.React
const _ = YvanUI.lodash

interface Ref {
    theForm: YvanUI.Form
}

export default class DemoWatch extends YvanUI.Scope<void, Ref> {

    main = this.$$({
        form1: {
            f1: '',
            f2: ''
        }
    })

    vjson = this.$$({
        view: 'page',
        title: '数据源演示',
        items: [
            {
                view: 'form',
                items: [
                    {
                        view: '',
                        bind: ''
                    }
                ]
            }
        ]
    })
}